<?php
class DaimaModel extends Action{
	//test
	//
	//############test
	public function zhurudaimatosql($daimactt){
		$info=collectinfo(__METHOD__,'$daimactt',array($daimactt));
		if(isset($daimactt)===false){return createarrerr('error_code','daimactt 不能为空',$info);}//防止NULL
		
		$daima=M('daima');
		$dt=array('daimacontent'=>$daimactt);
		$daima->where('daimaid=1')->setField($dt);

		return createarrok('ok',$data,'',$info);
	}
	
} 
?>